<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
    
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
        <title>XiaoMi Logo</title>
        <style>
        @font-face
        {
            font-family: 'Gotham-Book';
            src: url('Gotham-Book.woff2'); /* IE9+ */
        }
        body, html {
            font-family: 'Gotham-Book';
            margin: 0;
            padding: 0;
        }
        body {
            display: flex;
            align-items: center;
            justify-content: center;
            position: absolute;
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;
            flex-direction: column;
        }
        .xiaomi {
            width: 300px;
            height: 300px;
            background: linear-gradient(to top right, #333, #111);
            -webkit-mask-image: paint(smooth-corners);
            mask-image: paint(smooth-corners);
            --smooth-corners: 3;
            line-height: 300px;
            text-align: center;
            font-size: 64px;
            color: white;
            font-weight: bolder;
        }
        .tips {
            margin-top: 30px;
            color: #999;
        }
        </style>
    </head>
    
    <body>
        <div class="xiaomi">Apple</div>
        <div class="tips">请确认你的浏览器是否兼容</div>
    </body>
    <script>
    window.onload = function () {
        if (window.CSS) {
            CSS.paintWorklet.addModule("smooth.js");
        }
    };
    </script>

</html>